package com.luban.mapper;

import com.luban.bean.UserDto;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author : fujc-dev@qq.com
 * @motto : talk is cheap, show me the code. salute the future!
 */
@Repository
public interface UserMapper {


    @Select("select * from t_user where username=#{username}")
    public UserDto getUserByUsername(String username);
}
